package com.afdor.rws.event.channel.local.observer;

import com.afdor.rws.event.Event;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import lombok.ToString;

import java.util.EventObject;

/**
 * Created by zhaofujun on 2017/6/22.
 */
@ToString
@EqualsAndHashCode
public class ObserverEvent extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param event The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public ObserverEvent(@NonNull Event event) {
        super(event);
    }
}
